<script setup>
import { reactive } from "vue";
const model = defineModel();
const selectInfo = reactive([
  {
    key: 1,
    value: "简单",
  },
  {
    key: 2,
    value: "中等",
  },
  {
    key: 3,
    value: "困难",
  },
]);
</script>
    
<template>
  <el-select v-model="model">
    <el-option
      v-for="item in selectInfo"
      :key="item.key"
      :label="item.value"
      :value="item.key"
    >
    </el-option>
  </el-select>
</template>
    
<style lang="less" scoped>
</style>